package com.ruoyi.system.service.module.wx.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.system.domain.module.wx.WxUser;
import com.ruoyi.system.mapper.module.wx.WxUserMapper;
import com.ruoyi.system.service.module.wx.IWxUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * 微信端用户Service业务层处理
 *
 * @author ruoyi
 * @date 2021-08-11
 */
@Service
public class WxUserServiceImpl extends ServiceImpl<WxUserMapper, WxUser> implements IWxUserService {

    @Resource
    private WxUserMapper wxUserMapper;

    @Override
    public Page<WxUser> selectWxUserList(Page<WxUser> page, Map<String, Object> map) {
        return wxUserMapper.selectWxUserList(page,map);
    }

    @Override
    public List<WxUser> selectWxUserList(Map<String, Object> map) {
        return wxUserMapper.selectWxUserList(map);
    }
}
